<?php

// no direct access
defined('_JEXEC') or die('Restricted access');

// Include the syndicate functions only once
require_once (dirname(__FILE__).DS.'helper.php');

JHTML::stylesheet('wb_menu.css', 'modules/mod_wb_menu/css/');
$document =& JFactory::getDocument();
    
$mainmenuitems = 5;
$mainwidth = 960;

$width = $mainwidth / $mainmenuitems;  


$document->addStyleDeclaration('#wb_menu .wb_mainmenu { width: ' . $width . 'px;}');

require(JModuleHelper::getLayoutPath('mod_wb_menu'));
